package com.zan.framework.utils;

/**
 * @version v1.0
 * @ClassName: StringUtils
 * @Description: TODO(一句话描述该类的功能)
 * @Author: 黑马程序员
 */
public class StringUtils {
    private StringUtils() {

    }

    // 传递的是userDao   ==>   转换成setUserDao
    public static String getSetterMethodNameByFieldName(String fieldName) {
        return "set" + fieldName.substring(0, 1).toUpperCase() + fieldName.substring(1);
    }
}
